import { ref } from 'vue'
import { defineStore } from 'pinia'
export const useCounterStore = defineStore('counter', () => {
  const Avatar = ref('')
  const count = ref('')
  const codeCheck = ref({})

  function clear() {
    count.value = ''
    codeCheck.value = {}
  }
  return { count, codeCheck, clear, Avatar }
},
{
  persist: true
}
)


